package top.huntwolf.admin.pojo.shop;

public class ShopContext {

    private static final ThreadLocal<Integer> STORE_ID = new ThreadLocal<>();

    private ShopContext(){

    }
    public static void set(Integer store_id){
        STORE_ID.set(store_id);
    }

    public static Integer get(){
        return STORE_ID.get();
    }

    public static void remove(){
        STORE_ID.remove();
    }

}
